package creators;

import java.util.Scanner;

import simulation.Model;

/**
 * abstract creator class for use in Factory.
 * @author Schwartz & Roy
 *
 */
public abstract class Creator {

    /**
     * creates the object and adds it to the Model or Environment.
     * @param model is the model
     * @param line is the input line
     */
    public abstract void create(Model model, Scanner line);
}
